package org.pirx.defaults;

import java.util.Random;

/**
 * Created by IntelliJ IDEA.
 * User: tonyx
 * Date: Apr 20, 2008
 * Time: 5:04:51 PM
 * To change this template use File | Settings | File Templates.
 */
public class StringParametersGenerator implements ParametersGenerator {
    protected Random random= new Random();
    protected String[] sampleResults=new String[]{"MELE","PERE","BANANE","COCOMERI","KIWI"};
    public void reset(long seed) {
        random.setSeed(seed);
    }

    public Object[] generateAnInstancePar() {
        return new Object[]{sampleResults[Math.abs(random.nextInt()%sampleResults.length)]};
    }
}
